const KEY_TEXT_URL_LIST = 'KEY_TEXT_URL_LIST';

export function getWebsitesFromDb() {
    return utools.dbStorage.getItem(KEY_TEXT_URL_LIST)
}

export function saveWebsitesToDb(websites) {
    utools.dbStorage.setItem(KEY_TEXT_URL_LIST, websites)
}

export function openUrlInBrowser(url) {
    utools.shellOpenExternal(url)
}